In the first few days of work encountered a problem, the deployment of the server, you need to use RABBITMQ to bring a Web UI monitoring component, but 15672 of the port is not mapped externally. Several approaches have been tried. Beginning to modify the Rabbitmq.config,rabbitmq-ebv.config, is always unsuccessful, because the change is the
file:/etc/rabbitmq/rabbitmq-env.conf6. Install the web management plug-in
# Management plugin by default in the release version of RabbitMQ, enable can # service restart, configuration effective [root @ rmq-node1 ~] # Rabbitmq-plugins enable rabbitmq_management
7. Set iptables
# Tcp4369
/profile #set rabbitmq environment export PATH=$PATH:/usr/local/rabbitmq/sbinsource /etc/profile
Start the service:
Rabbitmq-server-detached // start rabbitmq.-detached indicates that the backend daemon is started.
Check the status. If the following information is displayed, the installation is successful:
rabbit
install rabbitmq-server-3.4.1-1.noarch.rpm4. Start RabbitMQ ServerRegister as a system serviceSudo chkconfig rabbitmq-server onStart RabbitMQ ServerSudo/etc/init. d rabbitmq-server stop/start/etcSudo service rabbitmq-server stop/
is sufficient. If you want a special setting, there are two ways:One is the environment variable configuration file rabbitmq-env.conf;A configuration file that is configuration information rabbitmq.config;Note that these two files are not by default and must be created yourself if necessary.Rabbitmq-env.confThe location of this file is deterministic and immutable, located in:/etc/rabbitmq directory (this d
Set up a RabbitMq cluster and a rabbitmq Cluster
Lab environment:
The operating system is Centos 7.2.
IP hostName
192.168.190.132 node132
192.168.190.139 node139
192.168.190.140 node140
RabbitMQ Port
4369 (epmd)
5672,567 1 (AMQP 0-9-1 and 1.0 without and with TLS)
25672. this
Installing RABBITMQ 2.2.1 Pull RABBITMQ Mirror
Docker Pull Rabbitmq:3.7.7-management
Tips 01:RABBITMQ version can go to the official website to view
2.2.2 View the list of images pulled
2.2.3 Creating and starting the RABBITMQ container
Docker run-d--hostname my-rabbit-p 56
RabbitMQ Article 1: setup and configuration of rabbitMQ and rabbitmq Article 1
Install rabbitMQ in WindowsStep 1: Install software
If rabbitMQ is installed, first install OTP software based on the erlang language, and then download the r
failed. ' Systemctl status Rabbitmq-server.service ' and ' journalctl-xn ' for details.
Solution:
Add 5672 ports to the firewall white list
Firewall-cmd--permanent--add-port=5672/tcpFirewall-cmd--reloadSetsebool-p nis_enabled 1
The rough way is to shut down the firewall directly and close the SELinux
Systemctl Stop Firewalld
Setenforce 0
Error two, after the login page, enter the Guest account information,
2.2.1 Pull RABBITMQ MirrorDocker Pull Rabbitmq:3.7.7-managementTips 01:RABBITMQ version can go to the official website to view2.2.2 View the list of images pulled2.2.3 Creating and starting the RABBITMQ containerDocker run-d--hostname my-rabbit-p 5672:5672-p 15672:15672 rabbitmq
protected]:* Unable to connect to EPMD (Port 4369) on Vms00386:nxdomain (non-existing domain)Current node Details:-Node Name: ' [email protected] '-Home dir:/VAR/LIB/RABBITMQ-Cookie hash:50yo3zk+hjhos0tab1vhjg==The way to solve it:Cluster nodes need to be able to access each other, so each cluster node Hosts file should contain all the nodes in the cluster information to ensure mutual resolutionVim/etc/hos
-driven synchronous ruby architecture, so the client has a very concise style when using the event-driven Ruby API.The AMQP server in this article is a RABBITMQ written using Erlang11. It implements the AMQP specification version 0-8, and will implement content 12 for the 0-9-1 version in the near future.Tell something before you start: asynchronous messaging is a very common and widely used technology, from a variety of instant messaging protocols su
(ea.DeliveryTag, false); } } }}
4. Management Interface
The RabbitMQ management interface allows you to view the current status of the RabbitMQ Server. This interface is provided in the form of a plug-in and has provided this plug-in when installing RabbitMQ. You need to enable this plug-in the RabbitMQ
); Console.WriteLine ("Done"); Channel. BasIcack (ea. Deliverytag, false); } } }}Three management interfaceRABBITMQ also has a management interface that allows you to view the current state of the RABBITMQ Server, which is provided as a plug-in, and has been brought to the plug-in when the RABBITMQ is installed. What needs to be done is to enable the plugin in the
); Console.WriteLine ("Done"); Channel. BasIcack (ea. Deliverytag, false); } } }}Three management interfaceRABBITMQ also has a management interface that allows you to view the current state of the RABBITMQ Server, which is provided as a plug-in, and has been brought to the plug-in when the RABBITMQ is installed. What needs to be done is to enable the plugin in the
[RabbitMQ] 6. Confirm the message of the rabbitmq producer and the rabbitmq producer.
Through the Publisher Confirms and Returns mechanism, the producer can determine whether the message is sent to exchange and queue. Through the consumer confirmation mechanism, Rabbitmq can decide whether to resend the message to the
); Console.WriteLine ("Done"); Channel. BasIcack (ea. Deliverytag, false); } } }}Three management interfaceRABBITMQ also has a management interface that allows you to view the current state of the RABBITMQ Server, which is provided as a plug-in, and has been brought to the plug-in when the RABBITMQ is installed. What needs to be done is to enable the plugin in the
); Console.WriteLine ("Done"); Channel. BasIcack (ea. Deliverytag, false); } } }}Three management interfaceRABBITMQ also has a management interface that allows you to view the current state of the RABBITMQ Server, which is provided as a plug-in, and has been brought to the plug-in when the RABBITMQ is installed. What needs to be done is to enable the plugin in the
); Console.WriteLine ("Received {0}", message); Console.WriteLine ("Done"); Channel. BasIcack (ea. Deliverytag, false); } } }}Three management interfaceRABBITMQ also has a management interface that allows you to view the current state of the RABBITMQ Server, which is provided as a plug-in, and has been brought to the plug-in when the RABBITMQ is installed.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.